package com.ruoyi.system.domain;

import com.ruoyi.common.core.domain.entity.SysDept;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 资源表 bus_resource
 * 
 * @author ruoyi
 * @date 2021-01-07
 */
public class BusResource extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 资源id */
	private Long resourceId;
	/** 资源分类id */
	private Long typeId;
	/** 资源级别 */
	private String classes;
	/** 资源基本信息 */
	private String content;
	/** 资源标签 */
	private String label;
	/** 资源状态（00待发布/01已发布） */
	private String status;
	/** 发布企业 */
	private Long publishDeptId;
	/** 发布人id */
	private Long publishUserId;
	/** 发布人名称 */
	private String publishUserName;
	/** 浏览次数 */
	private Integer browseNum;
	/** 资源名称 */
	private String resourceName;
	/** 评论次数 */
	private Integer commentNum;
	/** 收藏次数 */
	private Integer storeNum;
	/** 资源分类名称 */
	private String typeName;
	/** 发布企业名称 */
	private String deptName;
	/** 启用状态（0启用/1停用） */
	private String useStatus;


	public void setResourceId(Long resourceId) 
	{
		this.resourceId = resourceId;
	}

	public Long getResourceId() 
	{
		return resourceId;
	}
	public void setTypeId(Long typeId) 
	{
		this.typeId = typeId;
	}

	public Long getTypeId() 
	{
		return typeId;
	}
	public void setClasses(String classes) 
	{
		this.classes = classes;
	}

	public String getClasses() 
	{
		return classes;
	}
	public void setContent(String content) 
	{
		this.content = content;
	}

	public String getContent() 
	{
		return content;
	}
	public void setLabel(String label) 
	{
		this.label = label;
	}

	public String getLabel() 
	{
		return label;
	}
	public void setStatus(String status) 
	{
		this.status = status;
	}

	public String getStatus() 
	{
		return status;
	}
	public void setPublishDeptId(Long publishDeptId) 
	{
		this.publishDeptId = publishDeptId;
	}

	public Long getPublishDeptId() 
	{
		return publishDeptId;
	}
	public void setPublishUserId(Long publishUserId) 
	{
		this.publishUserId = publishUserId;
	}

	public Long getPublishUserId() 
	{
		return publishUserId;
	}
	public void setPublishUserName(String publishUserName) 
	{
		this.publishUserName = publishUserName;
	}

	public String getPublishUserName() 
	{
		return publishUserName;
	}

	public Integer getBrowseNum() {
		return browseNum;
	}

	public void setBrowseNum(Integer browseNum) {
		this.browseNum = browseNum;
	}

	public String getResourceName() {
		return resourceName;
	}

	public void setResourceName(String resourceName) {
		this.resourceName = resourceName;
	}

	public Integer getCommentNum() {
		return commentNum;
	}

	public void setCommentNum(Integer commentNum) {
		this.commentNum = commentNum;
	}

	public Integer getStoreNum() {
		return storeNum;
	}

	public void setStoreNum(Integer storeNum) {
		this.storeNum = storeNum;
	}

	public String getTypeName() {
		return typeName;
	}

	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}

	public String getDeptName() {
		return deptName;
	}

	public void setDeptName(String deptName) {
		this.deptName = deptName;
	}

	public String getUseStatus() {
		return useStatus;
	}

	public void setUseStatus(String useStatus) {
		this.useStatus = useStatus;
	}

	public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("resourceId", getResourceId())
            .append("typeId", getTypeId())
            .append("classes", getClasses())
            .append("content", getContent())
            .append("label", getLabel())
            .append("status", getStatus())
            .append("publishDeptId", getPublishDeptId())
            .append("publishUserId", getPublishUserId())
            .append("publishUserName", getPublishUserName())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
			.append("browseNum", getBrowseNum())
			.append("resourceName", getResourceName())
            .toString();
    }
}
